package com.ruoyi.common.security.config.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "ruoyi.security")
@Data
public class SecurityProperties {

    //多少时间内允许连续登录错误次数 默认10次
    private Integer loginAllowErrorQuantity = 10;
    //多少秒内 默认10分钟
    private Integer loginErrorQuantityTime = 600;
}
